//
//  NBaseViewController.h
//  nncloud
//
//  Created by macfai on 2018/9/17.
//  Copyright © 2018年 youedata. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RCBaseViewController.h"
#import <WebKit/WebKit.h>
///协议继承，子类可以不写这个代理，就可以直接用
@interface NBaseViewController : RCBaseViewController<UITextFieldDelegate,WKNavigationDelegate,WKUIDelegate>

@property(nonatomic,strong)UIButton *leftBarButton;
@property (nonatomic, strong)UIBarButtonItem *rightBarButtonItem;


//左侧
-(UIButton *)addNavigationLeftButtonFrame:(CGRect)frame Image:(UIImage *)normalImage AndHighLightImage:(UIImage *)highLightImage AndText:(NSString *)text Target:(id)target Action:(SEL)action ;

//右侧
-(UIButton *)addNavgationRightButtonWithFrame:(CGRect)frame
                                        title:(NSString*)title
                                        Image:(NSString*)image
                                  selectedIMG:(NSString*)imsel
                                      tartget:(id)target
                                       action:(SEL)action;

- (void)backItemClick;

- (void)callRoleSelecteVC;
- (void)callLoginVC;


@end
